package com.njtoyo.taxi.admin.rest.wrapper.business.advertise;

import com.njtoyo.taxi.admin.library.common.Enum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class AdvertisePointToWrapper {

    @ApiModelProperty(value = "广告标题")
    @NotNull(message = "广告标题为空")
    private String title;

    @ApiModelProperty(value = "媒体图片")
    @NotNull(message = "媒体图片为空")
    private String mediaUrl;

    @ApiModelProperty(value = "平台")
    @NotNull(message = "平台不能为空")
    private Enum.AdvertiseApp app;

}
